SWEP.Category = "Prefantastica"
SWEP.PrintName = "Dynamic Winds"
SWEP.Author = "Prefanatic"
SWEP.Contact = "Ctrl + Alt + Del"
SWEP.Purpose = "Set the dynamic winds!"
SWEP.Instructions = ""
SWEP.Base = "weapon_base";		
SWEP.Slot = 1;
SWEP.SlotPos = 3;
SWEP.DrawAmmo	= true;
SWEP.DrawCrosshair = true;
SWEP.ViewModel = "models/weapons/v_models/v_hdevice.mdl";
SWEP.WorldModel = "models/w_hdevice.mdl";
SWEP.Spawnable = true
SWEP.AdminSpawnable = false

SWEP.Primary.ClipSize = -1;
SWEP.Primary.DefaultClip = -1;
SWEP.Primary.Automatic = false;
SWEP.Primary.Ammo	= "none";

SWEP.Secondary.ClipSize = -1;
SWEP.Secondary.DefaultClip = -1;
SWEP.Secondary.Automatic = false;
SWEP.Secondary.Ammo = "none";

function SWEP:PrimaryAttack()

	local tr = self.Owner:GetEyeTrace()
	local ent = tr.Entity
	
	if ent:IsValid() and !ent:IsPlayer() then
		
		table.insert(DW.Props, {ent})
		
	end
	
end